SftTree/OCX 7.0

SftTreeItem.MinHeightPix Property

Softel vdm, Inc.

Defines the minimum height of the item.

Syntax       

Get

VB.NET

MinPix = object.MinHeightPix  As Integer

VB

MinPix = object.MinHeightPix  As Long

C#.NET

int MinPix = object.MinHeightPix;

VC++

long MinPix = object->MinHeightPix;
long MinPix = object->GetMinHeightPix();

C

HRESULT object->get_MinHeightPix(long* MinPix);

Delphi

MinPix := object.MinHeightPix   : Integer;

Put

VB.NET

object.MinHeightPix = MinPix  As Integer

VB

object.MinHeightPix = MinPix  As Long

C#.NET

int object.MinHeightPix = MinPix;

VC++

long object->MinHeightPix = MinPix;
void object->PutMinHeightPix(long MinPix);

C

HRESULT object->put_MinHeightPix(long MinPix);

Delphi

object.MinHeightPix := MinPix   : Integer;

object

A SftTreeItem object.

MinPix

Defines the minimum height of the item in pixels.  If 0 is specified, no minimum height is defined.

Comments

The MinHeightPix property defines the minimum height of the item.

If the item is smaller than the defined minimum height, is is extended and uses the defined minimum height.

This property has no effect when fixed height items are used (see Items.Style).  The Items.MinHeightPix and Items.MaxHeightPix properties can be used for fixed height items to define the minimum and maximum height for all item.

The Items.Lines property can be used to define the number of text lines used for item height calculation.

The Item.MaxHeightPix property defines the maximum height of an item.

See Also  SftTreeItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com